package com.itheima.service;

import com.itheima.POJO.Setmeal;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;

import java.util.List;
import java.util.Map;

public interface SetMealService {
    PageResult findPage(QueryPageBean queryPageBean);

    void add(Setmeal setmeal, Integer[] checkGroupIds);

    void delete(Integer id);

    Setmeal findById(Integer id);

    List<Integer> findCheckGroupAndCheckItemById(Integer id);

    void edit(Setmeal setmeal, Integer[] checkGroupIds);

    List<Setmeal> getSetmeal();

    Setmeal listById(Integer id);

    List<Map<String, Object>> findSetmealCount();
}
